﻿<!-- NAVBAR START 
        ================================================== -->
<div id="menu_home" class="navbar navbar-inverse" style="position: static;">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <a class="brand" href="@Url.Action("Index", "Home")">CultuRAM</a>
            <div class="nav-collapse collapse navbar-inverse-collapse">
                <ul class="nav">
                    <li id="li_home" class="active"><a class="btn-sm" href="@Url.Action("Index", "Home")"><i class="fa fa-home" style="color: white"></i> Início</a></li>
                    <li id="li_about"><a class="btn-sm" href="@Url.Action("About", "Home")"><i class="icon-comment icon-white"></i> Sobre</a></li>
                    <li id="li_accrequest"><a class="btn-sm" href="@Url.Action("AccRequest", "Home")"><i class="icon-list-alt icon-white"></i> Pedido de Adesão</a></li>
                     <li id="li_accstatus"><a class="btn-sm" href="@Url.Action("AccStatus", "Home")"><i class="icon-search icon-white"></i> Estado do Pedido de Adesão</a></li>
                    <li id="li_contact"><a class="btn-sm" href="@Url.Action("Contact", "Home")"><i class="icon-envelope icon-white"></i> Contactos</a></li>
                    <li id="li_faq"><a class="btn-sm" href="@Url.Action("Faq", "Home")"><i class="icon-question-sign icon-white"></i> FAQ</a> </li>                       
                </ul>
                <ul class="nav pull-right">      
                    @if (WebSecurity.IsAuthenticated)
                    {
                        <li id="li_dashboard"><a class="btn-sm" href="@Url.Action("Dashboard", "Home")"><i class="icon-th icon-white"></i> Administração</a> </li>
                    }    
                    <li class="divider-vertical"></li>     

                    @if (WebSecurity.IsAuthenticated)
                    {
                         
                        <li id="li_profile">
                            @*<a href="@Url.Action("Edit","Account", new {id = WebSecurity.CurrentUserId, m = ViewBag.RoleId})"><i class='icon-user icon-white'></i> @ViewBag.UserName</a>*@  
                            <a href="#"><i class='icon-user icon-white'></i> @ViewBag.UserName</a>  
                            @*@Html.RouteLink(User.Identity.Name, "Default", new {controller = "Account", action = "Edit", userId = WebSecurity.CurrentUserId, roleId = Roles.GetRolesForUser()})*@
                        </li>
                    }
                    else
                    {


                        <li id="li_auth"><a class="" href="@Url.Action("Auth", "Home")"><i class="icon-user icon-white"></i> Entrar</a> </li>
                    }
                    <li id="">
                        @if (WebSecurity.IsAuthenticated)
                        {
                            <a  class="" href="@Url.Action("LogOff1", "Account")"><i class="icon-off icon-white"></i> Sair</a>
                        }
                    </li>                  
                </ul>

            </div>
            <!-- /.nav-collapse -->
        </div>
    </div>
    <!-- /navbar-inner -->
</div>
<!-- /navbar -->
<!-- NAVBAR END 
        ================================================== -->
